package com.xb.service;

import com.xb.mapper.HomeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class HomeService {

    @Autowired
    HomeMapper homeMapper;

    public Map<String, Object> findHomeCount() {
        return homeMapper.findHomeCount();
    }


    public List<Map<String, Object>> findHomeDetail() {
        return homeMapper.findHomeDetail();
    }
}
